home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
5
/
DINKDEMO
/
DINKCLAS
/
DOBJECT.H
< prev
next >
Wrap
Text File
|
1992-07-08
|
825b
|
49 lines
/*
File: DObject.h
Written by: Mark Gross
Copyright: ⌐ 1992 by Applied Technical Software, all rights reserved.
Use at your own risk.
*/
#ifndef __DOBJECT__
#define __DOBJECT__
#include <oops.h>
class DObject
{
public :
void ErrorAlert(short stringsID, short theError);
void Beep(int times);
void EnterMB(void);
void EnterMBStr(char *theString);
void MakeMBAlias(char* alias, void* address);
pascal void SetZero(void);
};// more MB realted member functions to follow!!
#define rErrorAlert 255
#define rErrorStrings 255
#define sNoMem 1
#define sFileOpen 2
#define sUnknownErr 3
#define HiWrd(aLong) (((aLong) >> 16) & 0xFFFF)
#define LoWrd(aLong) ((aLong) & 0xFFFF)
#define Min(A,B) ((A) < (B) ? (A) : (B) )
#define Max(A,B) ((A) < (B) ? (B) : (A) )
#define ZERO 0L
#endif __DOBJECT__